using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using amazingfishing.sprites;
using System.Diagnostics;

namespace amazingfishing.senes
{
    public class Fishing2:Fishing
    {

        public Fishing2(Game1 game)
            : base(game)
        {
            pixelChangeperFrame = 10;
            frameCount = (2048-480)/pixelChangeperFrame;
            waterSpeed = new Vector2(-10, 0);
        }

        protected override void LoadContent()
        {
            base.LoadContent();

            coast = Game.Content.Load<Texture2D>(@"images/coast2");
            Texture2D boss = Game.Content.Load<Texture2D>(@"images/sprites/boss2");

            Texture2D wood1 = Game.Content.Load<Texture2D>(@"images/sprites/wood3");
            Texture2D wood2 = Game.Content.Load<Texture2D>(@"images/sprites/wood5");
            Texture2D stone = Game.Content.Load<Texture2D>(@"images/sprites/stone");
            normalObjects.Add(new wood(wood1,new Vector2(100, 300), new Point(75, 50), new Point(10, 1),8,new Vector2(1,0)));
            normalObjects.Add(new wood(wood2, new Vector2(300, 500), new Point(100, 100), new Point(8, 1),8,new Vector2(-1,0)));
            normalObjects.Add(new Stone(stone,new Vector2(240,400)));
            
            Debug.WriteLine(normalObjects.Count);
        }

        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
    }
}
